package generator.service;

import com.atkt.ktkt.model.activity.CouponInfo;
import com.atkt.ktkt.model.activity.CouponUse;
import com.atkt.ktkt.vo.activity.CouponUseQueryVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 罗雅文
* @description 针对表【coupon_info(优惠券信息)】的数据库操作Service
* @createDate 2022-09-24 17:15:07
*/
public interface CouponInfoService extends IService<CouponInfo> {

    Page<CouponUse> selectCouponUsePage(Page<CouponUse> couponUsePage, CouponUseQueryVo couponUseQueryVo);

    //更新优惠卷状态
    void updateCouponInfoUseStatus(Long couponUseId, Long orderId);
}
